/**
 * 用户管理相关接口
 * Created by lihao on 2018-07-05
 */
import request from '@/utils/request'

// 获取用户信息
export function getList(data) {
  return request({
    url: '/user/list',
    method: 'post',
    data
  })
}

// 锁定用户
export function lock(data) {
  return request({
    url: '/user/lock',
    method: 'post',
    data
  })
}

// 解锁用户
export function unLock(data) {
  return request({
    url: '/user/unlock',
    method: 'post',
    data
  })
}
